#
# @lc app=leetcode.cn id=1460 lang=python
#
# [1460] 通过翻转子数组使两个数组相等
#

# @lc code=start
class Solution(object):
    def canBeEqual(self, target, arr):
        """
        :type target: List[int]
        :type arr: List[int]
        :rtype: bool
        """
        return sorted(target) == sorted(arr)
# @lc code=end

